from django.urls import path
from .views import *
# url的命名空间
#博客文章管理功能
app_name = 'Article'
urlpatterns = [
    path('index/',index,name='index'),
    path('pie_chart/',pie_chart,name='pie_chart'),
    path('new/',NewsListView.as_view(),name='new'),
    path('news/<int:news_id>/', NewDetailView.as_view(), name='news_detail')
    ]